package com.aimee.entity;

import java.util.Date;

public class LeaveWordAnswers {
    public int answer_id;//回复id
    public int leaveWord_id;//留言id
    public String answer_content;//回复内容
    public Date answer_date;//回复日期
    public int user_id;//回复用户id
    public String user_name;//回复用户名

    public LeaveWordAnswers() {
        super();
    }

    public LeaveWordAnswers(int leaveWord_id, String answer_content, int user_id) {
        this.leaveWord_id = leaveWord_id;
        this.answer_content = answer_content;
        this.user_id = user_id;
    }

    @Override
    public String toString() {
        return "LeaveWordAnswers{" +
                "answer_id=" + answer_id +
                ", leaveWord_id=" + leaveWord_id +
                ", answer_content='" + answer_content + '\'' +
                ", answer_date=" + answer_date +
                ", user_id=" + user_id +
                ", user_name='" + user_name + '\'' +
                '}';
    }

    public int getAnswer_id() {
        return answer_id;
    }

    public void setAnswer_id(int answer_id) {
        this.answer_id = answer_id;
    }

    public int getLeaveWord_id() {
        return leaveWord_id;
    }

    public void setLeaveWord_id(int leaveWord_id) {
        this.leaveWord_id = leaveWord_id;
    }

    public String getAnswer_content() {
        return answer_content;
    }

    public void setAnswer_content(String answer_content) {
        this.answer_content = answer_content;
    }

    public Date getAnswer_date() {
        return answer_date;
    }

    public void setAnswer_date(Date answer_date) {
        this.answer_date = answer_date;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public LeaveWordAnswers(int answer_id, int leaveWord_id, String answer_content, Date answer_date, int user_id, String user_name) {
        this.answer_id = answer_id;
        this.leaveWord_id = leaveWord_id;
        this.answer_content = answer_content;
        this.answer_date = answer_date;
        this.user_id = user_id;
        this.user_name = user_name;
    }

    public LeaveWordAnswers(int answer_id, int leaveWord_id, String answer_content, Date answer_date) {
        this.answer_id = answer_id;
        this.leaveWord_id = leaveWord_id;
        this.answer_content = answer_content;
        this.answer_date = answer_date;
    }
}
